package com.itheima.framework.view;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @program: Implementing springmvc
 * @description:
 * @author: zhanghz001
 * @create: 2020-12-05 11:24
 **/
public interface ViewHandler {
    default void forward(HttpServletRequest request,
                         HttpServletResponse resp,
                         Object result) {
    }

    default void print(HttpServletRequest request,
                       HttpServletResponse resp,
                       Object result) {
    }

}
